﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020007FD RID: 2045
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetRogueShopBuffInfoCsReq : IMessage<GetRogueShopBuffInfoCsReq>, IMessage, IEquatable<GetRogueShopBuffInfoCsReq>, IDeepCloneable<GetRogueShopBuffInfoCsReq>, IBufferMessage
	{
		// Token: 0x170019F3 RID: 6643
		// (get) Token: 0x06005BAD RID: 23469 RVA: 0x000F5CC9 File Offset: 0x000F3EC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetRogueShopBuffInfoCsReq> Parser
		{
			get
			{
				return GetRogueShopBuffInfoCsReq._parser;
			}
		}

		// Token: 0x170019F4 RID: 6644
		// (get) Token: 0x06005BAE RID: 23470 RVA: 0x000F5CD0 File Offset: 0x000F3ED0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetRogueShopBuffInfoCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170019F5 RID: 6645
		// (get) Token: 0x06005BAF RID: 23471 RVA: 0x000F5CE2 File Offset: 0x000F3EE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetRogueShopBuffInfoCsReq.Descriptor;
			}
		}

		// Token: 0x06005BB0 RID: 23472 RVA: 0x000F5CE9 File Offset: 0x000F3EE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueShopBuffInfoCsReq()
		{
		}

		// Token: 0x06005BB1 RID: 23473 RVA: 0x000F5CF1 File Offset: 0x000F3EF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueShopBuffInfoCsReq(GetRogueShopBuffInfoCsReq other) : this()
		{
			this.pUNKLORDOPERATIONREFRESH_ = other.pUNKLORDOPERATIONREFRESH_;
			this.monsterId_ = other.monsterId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005BB2 RID: 23474 RVA: 0x000F5D22 File Offset: 0x000F3F22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueShopBuffInfoCsReq Clone()
		{
			return new GetRogueShopBuffInfoCsReq(this);
		}

		// Token: 0x170019F6 RID: 6646
		// (get) Token: 0x06005BB3 RID: 23475 RVA: 0x000F5D2A File Offset: 0x000F3F2A
		// (set) Token: 0x06005BB4 RID: 23476 RVA: 0x000F5D32 File Offset: 0x000F3F32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool PUNKLORDOPERATIONREFRESH
		{
			get
			{
				return this.pUNKLORDOPERATIONREFRESH_;
			}
			set
			{
				this.pUNKLORDOPERATIONREFRESH_ = value;
			}
		}

		// Token: 0x170019F7 RID: 6647
		// (get) Token: 0x06005BB5 RID: 23477 RVA: 0x000F5D3B File Offset: 0x000F3F3B
		// (set) Token: 0x06005BB6 RID: 23478 RVA: 0x000F5D43 File Offset: 0x000F3F43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MonsterId
		{
			get
			{
				return this.monsterId_;
			}
			set
			{
				this.monsterId_ = value;
			}
		}

		// Token: 0x06005BB7 RID: 23479 RVA: 0x000F5D4C File Offset: 0x000F3F4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetRogueShopBuffInfoCsReq);
		}

		// Token: 0x06005BB8 RID: 23480 RVA: 0x000F5D5A File Offset: 0x000F3F5A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetRogueShopBuffInfoCsReq other)
		{
			return other != null && (other == this || (this.PUNKLORDOPERATIONREFRESH == other.PUNKLORDOPERATIONREFRESH && this.MonsterId == other.MonsterId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005BB9 RID: 23481 RVA: 0x000F5D98 File Offset: 0x000F3F98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PUNKLORDOPERATIONREFRESH)
			{
				num ^= this.PUNKLORDOPERATIONREFRESH.GetHashCode();
			}
			if (this.MonsterId != 0U)
			{
				num ^= this.MonsterId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005BBA RID: 23482 RVA: 0x000F5DF0 File Offset: 0x000F3FF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005BBB RID: 23483 RVA: 0x000F5DF8 File Offset: 0x000F3FF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005BBC RID: 23484 RVA: 0x000F5E04 File Offset: 0x000F4004
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MonsterId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.MonsterId);
			}
			if (this.PUNKLORDOPERATIONREFRESH)
			{
				output.WriteRawTag(96);
				output.WriteBool(this.PUNKLORDOPERATIONREFRESH);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005BBD RID: 23485 RVA: 0x000F5E60 File Offset: 0x000F4060
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PUNKLORDOPERATIONREFRESH)
			{
				num += 2;
			}
			if (this.MonsterId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MonsterId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005BBE RID: 23486 RVA: 0x000F5EAC File Offset: 0x000F40AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetRogueShopBuffInfoCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PUNKLORDOPERATIONREFRESH)
			{
				this.PUNKLORDOPERATIONREFRESH = other.PUNKLORDOPERATIONREFRESH;
			}
			if (other.MonsterId != 0U)
			{
				this.MonsterId = other.MonsterId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005BBF RID: 23487 RVA: 0x000F5EFC File Offset: 0x000F40FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005BC0 RID: 23488 RVA: 0x000F5F08 File Offset: 0x000F4108
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 96U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.PUNKLORDOPERATIONREFRESH = input.ReadBool();
					}
				}
				else
				{
					this.MonsterId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400237B RID: 9083
		private static readonly MessageParser<GetRogueShopBuffInfoCsReq> _parser = new MessageParser<GetRogueShopBuffInfoCsReq>(() => new GetRogueShopBuffInfoCsReq());

		// Token: 0x0400237C RID: 9084
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400237D RID: 9085
		public const int PUNKLORDOPERATIONREFRESHFieldNumber = 12;

		// Token: 0x0400237E RID: 9086
		private bool pUNKLORDOPERATIONREFRESH_;

		// Token: 0x0400237F RID: 9087
		public const int MonsterIdFieldNumber = 8;

		// Token: 0x04002380 RID: 9088
		private uint monsterId_;
	}
}
